package com.grouuu.mouse;
import starling.core.Starling;
import starling.events.TouchEvent;

/**
 * ...
 * @author Grouuu
 */

class Mouse 
{
	public function new()
	{
		
	}
	
	public function addListener(listener:IMouse):Void
	{
		Starling.current.stage.addEventListener(TouchEvent.TOUCH, listener.onClick);
	}
	
	public function removeListener(listener:IMouse):Void
	{
		Starling.current.stage.removeEventListener(TouchEvent.TOUCH, listener.onClick);
	}
}